#ifndef _CSTATE_H
#define _CSTATE_H
//state.h

/**
  \class CState state.h "newding/state.h"
  Base class for all state class
  */

namespace NDG
{
  class CState
  {
    public
      void OnExit();
    virtual void onCreate(); 
    virtual void onStart(); 
    virtual void onResume(); 
    virtual void onPause(); 
    virtual void onStop(); 
    virtual void onDestroy(); 

    public:
    virtual void update();
  };

};

#endif
